class CreateEshopEmailTemplates < ActiveRecord::Migration
  def change
    create_table :eshop_email_templates, :force => true do |t|
      t.string :name, :limit => 50, :null => false
      t.string :presentation, :limit => 50, :null => false
      t.string :subject, :limit => 150, :null => false
      t.string :from, :limit => 50, :null => false
      t.string :bcc, :limit => 50, :null => true
      t.text   :template, :null => false
      t.text   :variables, :null => true
      t.timestamps
    end
  end
end